package com.imagecollector.mapper;

import com.imagecollector.domain.dto.PictureSearchDTO;
import com.imagecollector.domain.entity.Picture;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imagecollector.domain.vo.PictureVO;
import com.imagecollector.domain.vo.ScenicAndExibitorNames;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 图片数据表 Mapper 接口
 * </p>
 *
 * @author wrf
 * @since 2024-08-02
 */
public interface PictureMapper extends BaseMapper<Picture> {
    List<PictureVO> pageQueryPictures(@Param("query") PictureSearchDTO pictureSearchDTO);
    Integer countPageQueryPictures(@Param("query")PictureSearchDTO pictureSearchDTO);

    // 查询客服标注的景区名和展品名
    List<ScenicAndExibitorNames> selectExhibitorNames(@Param("customerServiceRemarkScenic") String customerServiceRemarkScenic,
                                                      @Param("customerServiceRemarkExhibits") String customerServiceRemarkExhibits);

}
